Skip to content

runtests: add --exclude / RSYNC_EXCLUDE to skip tests entirely#943

Merged
tridge merged 1 commit into
RsyncProject:masterfrom
tridge:pr-runtests-exclude
Jun 1, 2026
Merged

runtests: add --exclude / RSYNC_EXCLUDE to skip tests entirely#943
tridge merged 1 commit into
RsyncProject:masterfrom
tridge:pr-runtests-exclude

Conversation

@tridge
Copy link
Copy Markdown
Member

@tridge tridge commented Jun 1, 2026

Some tests cannot run in certain build/CI environments. In particular the protected-regular test self-re-execs under "unshare --map-users" to exercise fs.protected_regular handling, and that user-namespace path hangs in a restricted buildd chroot (e.g. Launchpad/sbuild), tripping the per-test timeout and failing the whole "make check".

Add an --exclude option (comma-separated test names/globs), with an RSYNC_EXCLUDE environment fallback so it can be set without touching the make/check command line. Excluded tests are dropped before running -- they are neither executed nor reported as skipped.

Some tests cannot run in certain build/CI environments. In particular the
protected-regular test self-re-execs under "unshare --map-users" to exercise
fs.protected_regular handling, and that user-namespace path hangs in a
restricted buildd chroot (e.g. Launchpad/sbuild), tripping the per-test
timeout and failing the whole "make check".

Add an --exclude option (comma-separated test names/globs), with an
RSYNC_EXCLUDE environment fallback so it can be set without touching the
make/check command line. Excluded tests are dropped before running -- they
are neither executed nor reported as skipped.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@tridge tridge merged commit c0219ca into RsyncProject:master Jun 1, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant